body {
  font-family: 'Arial', sans-serif;
  background-color: #f0f2f5;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#chat-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  height: 100%;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#chat-history {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.message {
  margin-bottom: 15px;
  display: flex;
  word-wrap: break-word;
}

.message.sent {
  justify-content: flex-end;
}

.message.received {
  justify-content: flex-start;
}

.message .content {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 20px;
  background: #e4e6eb;
}

.message.sent .content {
  background: #0084ff;
  color: white;
}

#input-area {
  display: flex;
  padding: 10px;
  border-top: 1px solid #dddfe2;
  background: #f0f2f5;
  position: sticky;
  bottom: 0;
}

#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #dddfe2;
  border-radius: 20px;
  margin-right: 10px;
  resize: none;
}

#send-button {
  background-color: #0084ff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}

#show-upload-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background-color: #0078d4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#upload-area {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  width: 400px;
  text-align: center;
}

#upload-area h1 {
  font-size: 12px;
  color: #0078d4;
  margin-bottom: 20px;
}

#upload-area input[type="file"] {
  display: none;
}

#upload-area label {
  display: inline-block;
  background-color: #0078d4;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#upload-area button {
  background-color: #0078d4;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 20px;
}